package com.cjw.pojo.entity.eventTracking;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @create_time: 2021.11.29
 * @author : cjw
 * @descripe: 埋点实体
 */
@Table(name = "event_tracking")
@ToString
@Data
@ApiModel("埋点实体")
public class EventTracking {
    @Id
    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("埋点名称")
    private String name;

    @ApiModelProperty(name = "埋点状态", notes = "0-停止 1-使用")
    private Integer state;

    @ApiModelProperty(name = "类型", notes = "1-增 2-删 3-改 4-查")
    private Integer type;

    @ApiModelProperty("资源id")
    private Long resourceId;

    @ApiModelProperty("创建时间")
    private Date createTime;

    @ApiModelProperty("修改时间")
    private Date updateTime;
}
